Dynamicweb 8 Documentation
BulkEstimateResults<TKey>(Filter,IEnumerable<TKey>,Func<Boolean,SearchQueryElement>) Method

Key type.
Filter to estimate results for.
A list of keys used to group result sets.
A function used to provide criteria to vary queries by.
Returns an estimated number of search results for each set of matching items.
Syntax
'Declaration
 
Public Overloads Shared Function BulkEstimateResults(Of TKey)( _
   ByVal filter As Filter, _ 
   ByVal keys As IEnumerable(Of TKey), _ 
   ByVal volatileCriterionSelector As Func(Of Boolean,SearchQueryElement) _ 
) As IDictionary(Of TKey,Long)
public static IDictionary<TKey,long> BulkEstimateResults<TKey>( 
   Filter filter,
   IEnumerable<TKey> keys,
   Func<bool,SearchQueryElement> volatileCriterionSelector 
)

Parameters

filter
Filter to estimate results for.
keys
A list of keys used to group result sets.
volatileCriterionSelector
A function used to provide criteria to vary queries by.

Type Parameters

TKey
Key type.

Return Value

The number of search results mapped to each of the specified keys.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionvolatileCriterionSelector is null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FilterManager Class
FilterManager Members
Overload List

Send Feedback